package pri.ydy.oss;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Ydy
 * @date 2020/10/4 - 16:17
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) //不加载数据库
@ComponentScan(basePackages = {"pri.ydy"})
@EnableDiscoveryClient//nacos注册
public class OssApplication {
    public static void main(String [] args){
        SpringApplication.run(OssApplication.class,args);
    }
}
